<#assign tiles=JspTaglibs["http://tiles.apache.org/tags-tiles"]/>
<@tiles.useAttribute name="menutab" id="menutab" classname="java.lang.String" ignore=true scope="request"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>Home</title>
<script type="text/javascript">
	var ctxPath="${ctx}";
	var appPath="/app";
    var path = ctxPath + appPath;
</script>
<script type="text/javascript" src="${ctx}/assets/javascript/jquery.min.js"></script>
<script type="text/javascript" src="${ctx}/assets/javascript/common.js"></script>
<script type="text/javascript" src="${ctx}/assets/javascript/template.js"></script>
<script type="text/javascript" src="${ctx}/assets/javascript/window.js"></script>
<@tiles.useAttribute id="scripts" name="scripts" classname="java.util.List" ignore=true />
<#if scripts??>
<#list scripts as script>
<script type="text/javascript" src="${ctx}${script}"></script>
</#list>
</#if>
<link href="${ctx}/assets/css/global.css" rel="stylesheet" type="text/css" media="all"/>
<link href="${ctx}/assets/css/windows.css" rel="stylesheet" type="text/css" media="all"/>
<@tiles.useAttribute id="styles" name="styles" classname="java.util.List" ignore=true />
<#if styles??>
<#list styles as style>
<link href="${ctx}${style}" rel="stylesheet" type="text/css" media="all"/>
</#list>
</#if>
</head>

<body>
<div id="wrapper">
	<div id="header">
    	<div style="height:70px;">
    	<a href="${ctx}/app/user/login">登录</a>
    	<a href="${ctx}/app/user/register">注册</a>
    	<a href="${ctx}/app/mem/profile">个人信息</a>
    	<a href="${ctx}/app/tutorinfo/edit">发布家教信息</a>
    	<a href="${ctx}/app/tutorinfo/list">家教信息</a>
    	<a href="${ctx}/app/search/tutor">检索家教信息</a>
    	</div>
    	<div id="mainnav">
        	<ul>
            	<li<#if menutab=='0'> class="current"</#if>><a href="${ctx}/app/index"><span>首页</span></a></li>
                <li<#if menutab=='1'> class="current"</#if>><a href="${ctx}/app/list"><span>教员信息</span></a></li>
                <li<#if menutab=='2'> class="current"</#if>><a href="${ctx}/app/detail"><span>学员信息</span></a></li>
            </ul>
        </div>
    </div>
    
    <div class="body">
    	<@tiles.insertAttribute name="main" ignore=true/>
    </div>
    
    <div id="footer">
    	<div style="border:1px solid #EBEBEB;width:100%;min-height:50px;">footer</div>
    </div>
</div>
</body>
</html>
